<!DOCTYPE html>
<html lang='en'>

<head>
    <meta charset='UTF-8'>
    <meta http-equiv='X-UA-Compatible' content='IE=edge'>
    <meta name='viewport' content='width=device-width, initial-scale=1.0'>
    <title>Document</title>
    <script src='../vue.global.js'></script>
</head>

<body>
    <div id='app'>
        <h3 v-if="vueIsVeryGood">你妈不一般</h3>
        <h3 v-else>🤣</h3>
        <hr>
        <template v-if="ok">
            <h1>Title</h1>
            <p>Paragraph 1</p>
            <p>Paragraph 2</p>
        </template>
        <hr>

        <div v-if="age >= 60">
            塔菲
        </div>
        <div v-else-if="age >= 25">
            猫雷
        </div>
        <div v-else-if="age >= 5">
            冬雪莲
        </div>
        <div v-else>
            张京华
        </div>
    </div>

    <script>
        const app = Vue.createApp({
            data() {
                return {
                    vueIsVeryGood: "",
                    ok: -1,
                    age:30
                }
            }
        })
        const vm = app.mount('#app')
    </script>
</body>

</html>